// 接口返回共有的数据
export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}
export interface CategoryObj {
  id: number;
  name: string;
  category1Id?: number;
  category2Id?: number;
}
//相应的分类接口返回数据的类型
export interface CategoryResponseData extends ResponseData {
  data: CategoryObj[];
}

export interface AttrValue {
  attrId?: number;
  id?: number;
  valueName: string;
  flag?: boolean
}
export interface Attr {
attrName: string
attrValueList: AttrValue[]
categoryId: number|string
categoryLevel: number
id?: number
platformAttrArr?:string
}
export interface AttrResponseData extends ResponseData{
    data:Attr[]
}
